package com.fowo.api.datainterface.constants;

import com.baomidou.mybatisplus.annotation.IEnum;

/**
 * 服务提供者依赖类型
 *
 * @author yl_ls
 */
public enum MappingColFixedKind implements IEnum<String> {

    PK("@pk", "主键"),
    UserName("@username", "用户编号"),
    Name("@name", "用户名"),
    CurDate("@curdate", "当前日期"),
    CurTime("@curtime", "当前时间"),
    TimeStampS("@timestamps", "当前时间戳秒"),
    TimeStampMS("@timestampms", "当前时间戳毫秒"),
    StartTimeStampS("@starttimestamps", "当天零点时间戳秒"),
    StartTimeStampMS("@starttimestampms", "当天零点时间戳毫秒"),
    Now("@now", "当前日期时间");
    private final String value;
    private final String msg;

    MappingColFixedKind(String value, String msg) {
        this.value = value;
        this.msg = msg;
    }

    @Override
    public String getValue() {
        return value;
    }
}
